﻿<!--{inc(header.view.html)}-->


<div class="header">    
  
                       <div class="nav">
	                                 <ul id="nav_list">
                                                 <li><a href="index.php?app=ad&act=index"  target="mainframe">广告位列表</a></li>
                                                 <li><a href="#" class="nav_icon" target="mainframe">修改广告位</a></li>
	                                 </ul>
                       </div>
                
</div>



<div id="content">
                   <h1>修改广告位</h1>

                  <div>
                                    <div class="tips_show"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b>
                                                                  <span >必须要上传左边和右边广告的图片，前台才会显示，注意要开启这个功能的用户权限</span>
                                    </div>




<form action="?app=ad&act=editpost" method="post">

                                   <table align="center" width="100%" cellpadding="4" cellspacing="0" border="0" class="table_style">
                                   
                                   
                               
                                   
                                   
                                   <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">

	                                      <td >广告名称： (*)</td>
	                                      <td>
                                         <input type="text" name="data[name]" size="60" value="{$data.name}" id="title">

                                     </td>
                                   </tr>  
                                                            
                                   <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">

	                                      <td >那个页面： (*)</td>
	                                      <td>
                                         <input type="text" name="data[demourl]" size="60" value="{$data.demourl}" id="title">

                                     </td>
                                   </tr>                                   
                                   
                                   <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                      <td colspan="2">
        <table width="100%" border="0" cellspacing="0" cellpadding="0"  >
          <tr> 
            <td width="18%">左边的图片源地址</td>
            <td width="82%">
             <input type="text" name="data[left][picurl]" size="40" value="{$data.left.picurl}" id="uppic1"><br/>
                    <iframe name='mainFrame2' frameborder=0 height=150 scrolling=no src='?app=ad&act=upfile&id={$id}&picurl={$data.left.picurl}&edit=editp&uppic=uppic1' width=370></iframe>             
            </td>
          </tr>
          <tr> 
            <td width="18%">左边的FLASH/图片链接地址</td>
            <td width="82%"> 
              <input type="text" name="data[left][url]" value="{$data.left.url}" size="50">
            </td>
          </tr>
          <tr> 
            <td width="18%">左边的FLASH/图片尺寸</td>
            <td width="82%">宽: 
              <input type="text" name="data[left][width]" value="{$data.left.width}" size="8">
              像素,高: 
              <input type="text" name="data[left][height]" value="{$data.left.height}" size="8">
              像素 </td>
          </tr>
          <tr> 
            <td width="18%">右边的FLASH/图片源地址</td>
            <td width="82%"> 
             <input type="text" name="data[right][picurl]" size="40" value="{$data.right.picurl}" id="uppic2"><br/>
                    <iframe name='mainFrame2' frameborder=0 height=150 scrolling=no src='?app=ad&act=upfile&id={$id}&picurl={$data.right.picurl}&edit=editp&uppic=uppic2' width=370></iframe> 
              
              </td>
          </tr>
           <tr> 
            <td width="18%">右边的FLASH/图片链接地址</td>
            <td width="82%"> 
              <input type="text" name="data[right][url]" value="{$data.right.url}" size="50">
            </td>
          </tr>
          <tr> 
            <td width="18%">右边的FLASH/图片尺寸</td>
            <td width="82%">宽: 
              <input type="text" name="data[right][width]" value="{$data.right.width}" size="8">
              像素,高: 
              <input type="text" name="data[right][height]" value="{$data.right.height}" size="8">
              像素 </td>
          </tr>         
          
          
        </table>                                          
                                          </td>
                                  </tr>                                   
                                   
                               
                                                                   
                               
  
              <SCRIPT LANGUAGE="JavaScript">
<!--

function upfile(url,b){
	document.getElementById(b).value=url;

}
//-->
</SCRIPT>                               


                                
                                <tr >
	                                     <td>&nbsp;</td>
	                                     <td><input name="id" type="hidden" value="{$id}" /><input type="submit" class="buton" value=" 提 交 " /></td>
                                </tr>
                                </table>
                                </form>


                 </div>

</div>



<!--{inc(footer.view.html)}-->